<?php

class TheException extends Exception 
{ 
	
}

class ArgException extends TheException 
{ 
	protected
	$erorrs = array();
	
	function
	__construct($errors = array(), $text = '', $code = 0)
	{
		parent::__construct($text, $code);
	}	
	
	function 
	getErrorsMsg()
	{
		return $this->errors;
	}
	
}

class ArchException extends TheException { }

?>